﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace WebApiServer.Models
{
    public class MenuItem
    {
        public int id { get; set; }

        public int order { get; set; }

        

        public string path { get; set; }

        public string authName { get; set; }

        private IList<MenuItem> _children;
        /// <summary>
        /// 本架次所有可能的训练内容
        /// </summary>
        public IList<MenuItem> children
        {
            get => _children ?? (_children = new List<MenuItem>());
            set => _children = value;
        }
    }
}
